<?php

namespace App\Models\Auth;

use App\Traits\UuidTrait;
use \Spatie\Permission\Models\Permission as BaseModel;

class Permission extends BaseModel
{
    use UuidTrait;

    public $timestamps = false;

    const NODE_SYSTEM_ID = '906c7299-0ca0-43b8-a105-e00529e32a05';
    const NODE_STATION_ID = '91579fb6-c65a-480b-b039-e78cebd6fe29';
    const NODE_PARKING_LOT_ID = '9917b0da-11be-4664-96a5-33ce38ca2c7f';
    const NODE_MERCHANT_ID = '907f70b4-e1aa-4c1d-935b-107c98f08b05';

    const NODE_IDS = [self::NODE_MERCHANT_ID, self::NODE_PARKING_LOT_ID, self::NODE_STATION_ID, self::NODE_SYSTEM_ID];

    static public function mkTrees(array $rawDat, string $parentID = null): array
    {
        $rawDatTrees = [];
        foreach ($rawDat as $rowDat) {
            if ($parentID === $rowDat['parent_id'] || !$parentID) {
                if ($treeItems = self::mkTrees($rawDat, $rowDat['id'])) {
                    $rowDat['children'] = $treeItems;
                }
                $rawDatTrees[] = $rowDat;
            }
        }

        return $rawDatTrees;
    }

    static public function fmtTrees(array &$datTrees)
    {
        foreach ($datTrees as &$rowDatTree) {

            if (!in_array(\Arr::get($rowDatTree, 'id'), self::NODE_IDS, true)) {
                unset($rowDatTree['identity']);
            }

            unset($rowDatTree['id'], $rowDatTree['guard_name'], $rowDatTree['parent_id']);

            if (\Arr::has($rowDatTree, 'children')) {
                self::fmtTrees($rowDatTree['children']);
            }
        }
    }

    const DATA_SQL = "
    INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9917b0da-11be-4664-96a5-33ce38ca2c7f', 'parking-lot', 'admin', '', '车场节点', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('998fed91-5c5a-4212-a19b-5e7e62bd00f0', 'parking-lot.manage', 'admin', '9917b0da-11be-4664-96a5-33ce38ca2c7f', '车场管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('994c6cff-7dd9-489c-9bb1-9cd8eb3c3484', 'parking-lot.manage.setting', 'admin', '998fed91-5c5a-4212-a19b-5e7e62bd00f0', '车场设置', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('998fed91-5973-4d0c-bc1c-b73ac677da2b', 'parking-lot.manage.setting.base', 'admin', '994c6cff-7dd9-489c-9bb1-9cd8eb3c3484', '参数设置', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9966424e-e1f4-4b37-a0b1-0b9db092a951', 'parking-lot.manage.setting.invoice', 'admin', '994c6cff-7dd9-489c-9bb1-9cd8eb3c3484', '开票设置', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9966424f-f2ce-4c79-a99c-d9db9921a414', 'parking-lot.manage.setting.invoice.aggregate', 'admin', '9966424e-e1f4-4b37-a0b1-0b9db092a951', '开票汇总', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9966424f-dede-4593-9e87-0c3e597ba409', 'parking-lot.manage.setting.invoice.detail', 'admin', '9966424e-e1f4-4b37-a0b1-0b9db092a951', '开票明细', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9966424f-69eb-4d0b-bd59-79d73a54fc9c', 'parking-lot.manage.setting.invoice.item', 'admin', '9966424e-e1f4-4b37-a0b1-0b9db092a951', '开票项目', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9966424f-7d16-4145-9a1d-7d286bdfd5a2', 'parking-lot.manage.setting.invoice.item.create', 'admin', '9966424f-69eb-4d0b-bd59-79d73a54fc9c', '开票项目新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9966424f-b7c0-4c2b-8321-4d0317b3f3d5', 'parking-lot.manage.setting.invoice.item.delete', 'admin', '9966424f-69eb-4d0b-bd59-79d73a54fc9c', '开票项目删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9966424f-90ea-4ebe-8f0f-af5b4598d6eb', 'parking-lot.manage.setting.invoice.item.edit', 'admin', '9966424f-69eb-4d0b-bd59-79d73a54fc9c', '开票项目编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9966424f-a4c2-4fcc-9c4f-407fc051bdb4', 'parking-lot.manage.setting.invoice.item.list', 'admin', '9966424f-69eb-4d0b-bd59-79d73a54fc9c', '开票项目列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9966424f-cbb5-4f78-b530-332a58e51b97', 'parking-lot.manage.setting.invoice.record', 'admin', '9966424e-e1f4-4b37-a0b1-0b9db092a951', '开票记录', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9966424e-fe13-4531-a6f5-1007f1de2ff7', 'parking-lot.manage.setting.invoice.subject', 'admin', '9966424e-e1f4-4b37-a0b1-0b9db092a951', '开票主体', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9966424f-11ce-4e89-a9cd-0709cd7dacca', 'parking-lot.manage.setting.invoice.subject.create', 'admin', '9966424e-fe13-4531-a6f5-1007f1de2ff7', '开票主体新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9966424f-553d-4ad8-b2d4-4e408f995e78', 'parking-lot.manage.setting.invoice.subject.delete', 'admin', '9966424e-fe13-4531-a6f5-1007f1de2ff7', '开票主体删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9966424f-252f-4260-a088-09b0b076d699', 'parking-lot.manage.setting.invoice.subject.edit', 'admin', '9966424e-fe13-4531-a6f5-1007f1de2ff7', '开票主体编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9966424f-38ea-4fb0-ab17-83e97df64873', 'parking-lot.manage.setting.invoice.subject.list', 'admin', '9966424e-fe13-4531-a6f5-1007f1de2ff7', '开票主体列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('994c6e0e-89f2-4ee6-a4fb-469446c2f770', 'parking-lot.manage.setting.payment', 'admin', '994c6cff-7dd9-489c-9bb1-9cd8eb3c3484', '支付设置', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99663c1f-8eac-4828-a42c-04cf7730c1ff', 'parking-lot.manage.setting.payment.channel', 'admin', '994c6e0e-89f2-4ee6-a4fb-469446c2f770', '支付通道设置', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('994c755c-d7bc-422b-8932-93749cf3e0c7', 'parking-lot.manage.setting.payment.channel.create', 'admin', '99663c1f-8eac-4828-a42c-04cf7730c1ff', '支付通道新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('994c755d-1c85-424f-a319-a4f4880d4b0b', 'parking-lot.manage.setting.payment.channel.delete', 'admin', '99663c1f-8eac-4828-a42c-04cf7730c1ff', '支付通道删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('994c755c-fe77-4e5c-ad2b-1a3f62595799', 'parking-lot.manage.setting.payment.channel.detail', 'admin', '99663c1f-8eac-4828-a42c-04cf7730c1ff', '支付通道详情', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('994c755c-eb4c-4069-bbc6-91d200141e45', 'parking-lot.manage.setting.payment.channel.edit', 'admin', '99663c1f-8eac-4828-a42c-04cf7730c1ff', '支付通道编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('994c755c-bed1-4d43-ab43-d4e2bc7ea538', 'parking-lot.manage.setting.payment.channel.list', 'admin', '99663c1f-8eac-4828-a42c-04cf7730c1ff', '支付通道列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('994c755d-2ff2-4201-aed1-7601de54ae1b', 'parking-lot.manage.setting.payment.scene-channel.bind', 'admin', '994c6e0e-89f2-4ee6-a4fb-469446c2f770', '支付场景绑定支付通道', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('998ff1ce-7878-4642-9be6-c60d9aa30684', 'parking-lot.manage.parking-lot-area', 'admin', '998fed91-5c5a-4212-a19b-5e7e62bd00f0', '区域管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99901ccd-8876-4917-8dc3-f0a072922c8b', 'parking-lot.manage.parking-lot-area.create', 'admin', '998ff1ce-7878-4642-9be6-c60d9aa30684', '区域新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99901ccd-8ad9-47a8-bcf4-a99c5a84d71b', 'parking-lot.manage.parking-lot-area.edit', 'admin', '998ff1ce-7878-4642-9be6-c60d9aa30684', '区域编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99901ccd-8cb5-4bc7-a2f1-e3eeb5a41306', 'parking-lot.manage.parking-lot-area.delete', 'admin', '998ff1ce-7878-4642-9be6-c60d9aa30684', '区域删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99901e8a-d83f-42e5-af6e-717259cabc53', 'parking-lot.manage.parking-lot-area.list', 'admin', '998ff1ce-7878-4642-9be6-c60d9aa30684', '区域列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99904470-a2eb-4d73-a4b5-3b968db8e146', 'parking-lot.manage.station', 'admin', '998fed91-5c5a-4212-a19b-5e7e62bd00f0', '岗亭管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99904470-b082-40c5-a344-b7c866adfa6e', 'parking-lot.manage.station.create', 'admin', '99904470-a2eb-4d73-a4b5-3b968db8e146', '岗亭新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99904470-b34e-47c1-9ec6-7346b99dbe8a', 'parking-lot.manage.station.edit', 'admin', '99904470-a2eb-4d73-a4b5-3b968db8e146', '岗亭编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99904470-b656-4fb1-8355-588c343501b2', 'parking-lot.manage.station.delete', 'admin', '99904470-a2eb-4d73-a4b5-3b968db8e146', '岗亭删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99904470-b915-4739-95d0-4f4848b511e5', 'parking-lot.manage.station.list', 'admin', '99904470-a2eb-4d73-a4b5-3b968db8e146', '岗亭列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999049a0-ca84-4c57-8e93-de5573b63dfa', 'parking-lot.manage.lane', 'admin', '998fed91-5c5a-4212-a19b-5e7e62bd00f0', '车道管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999049a0-d700-4962-b032-f2f53d3e9b85', 'parking-lot.manage.lane.group.create', 'admin', '999049a0-ca84-4c57-8e93-de5573b63dfa', '车道组新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999049a0-d927-4db4-807e-80ab6da145fc', 'parking-lot.manage.lane.group.edit', 'admin', '999049a0-ca84-4c57-8e93-de5573b63dfa', '车道组编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999049a0-db57-497e-814e-8784b9d2521f', 'parking-lot.manage.lane.group.delete', 'admin', '999049a0-ca84-4c57-8e93-de5573b63dfa', '车道组删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999049a0-dd87-48a7-8227-088c49813f2d', 'parking-lot.manage.lane.group.list', 'admin', '999049a0-ca84-4c57-8e93-de5573b63dfa', '车道组列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999049a0-dfbc-450a-be4f-edfdd45b7ea2', 'parking-lot.manage.lane.create', 'admin', '999049a0-ca84-4c57-8e93-de5573b63dfa', '车道新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999049a0-e22a-4dc1-8ffc-32167b88e5f2', 'parking-lot.manage.lane.edit', 'admin', '999049a0-ca84-4c57-8e93-de5573b63dfa', '车道编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999049a0-e495-4d56-90c8-b09c51ba8f98', 'parking-lot.manage.lane.control', 'admin', '999049a0-ca84-4c57-8e93-de5573b63dfa', '车道开关闸', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999049a0-e6ec-45de-9c3c-d4cbd0c19f41', 'parking-lot.manage.lane.delete', 'admin', '999049a0-ca84-4c57-8e93-de5573b63dfa', '车道删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999049a0-e93d-45c3-a2f6-e69dac09a70d', 'parking-lot.manage.lane.list', 'admin', '999049a0-ca84-4c57-8e93-de5573b63dfa', '车道列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99904eb8-b8e2-4076-b6ca-e059b1125b8f', 'parking-lot.manage.parking-space', 'admin', '998fed91-5c5a-4212-a19b-5e7e62bd00f0', '车位管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99904eb8-c70f-41f3-aa42-245d0d4775ad', 'parking-lot.manage.parking-space.create', 'admin', '99904eb8-b8e2-4076-b6ca-e059b1125b8f', '车位新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99904eb8-c993-46e1-a2c9-a8fa235cc24d', 'parking-lot.manage.parking-space.edit', 'admin', '99904eb8-b8e2-4076-b6ca-e059b1125b8f', '车位编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99904eb8-cc11-41cf-ab47-b3aac38b5723', 'parking-lot.manage.parking-space.delete', 'admin', '99904eb8-b8e2-4076-b6ca-e059b1125b8f', '车位删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99904eb8-cf1b-4751-bba2-0b9ff4f28850', 'parking-lot.manage.parking-space.list', 'admin', '99904eb8-b8e2-4076-b6ca-e059b1125b8f', '车位列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99906e31-f4ee-4be0-b84c-05df22d374d4', 'parking-lot.manage.qrcode', 'admin', '998fed91-5c5a-4212-a19b-5e7e62bd00f0', '二维码管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99906e32-0171-4805-9f74-a64c4066fce2', 'parking-lot.manage.qrcode.create', 'admin', '99906e31-f4ee-4be0-b84c-05df22d374d4', '二维码生成', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99907311-3ebe-4327-a489-1d5f383e747e', 'parking-lot.manage.rule', 'admin', '998fed91-5c5a-4212-a19b-5e7e62bd00f0', '收费规则', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9bd5e923-581d-4132-bde9-83416a726ef2', 'parking-lot.manage.rule.park-rule', 'admin', '99907311-3ebe-4327-a489-1d5f383e747e', '临时规则管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9bd5ea14-c09b-48c4-8188-8b58f4151712', 'parking-lot.manage.rule.park-rule.list', 'admin', '9bd5e923-581d-4132-bde9-83416a726ef2', '临时规则列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9bd5ea28-37a0-411b-bdeb-ea7546e1d323', 'parking-lot.manage.rule.park-rule.create', 'admin', '9bd5e923-581d-4132-bde9-83416a726ef2', '临时规则新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9bd5ea45-3b49-4fdc-b10a-c39e6583aaa9', 'parking-lot.manage.rule.park-rule.edit', 'admin', '9bd5e923-581d-4132-bde9-83416a726ef2', '临时规则编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9bd5ea5c-3afa-4836-bc2b-7d2acbb8f133', 'parking-lot.manage.rule.park-rule.delete', 'admin', '9bd5e923-581d-4132-bde9-83416a726ef2', '临时规则删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9bd5e81c-d785-4150-946d-d7d091286177', 'parking-lot.manage.rule.mth-rule', 'admin', '99907311-3ebe-4327-a489-1d5f383e747e', '月租规则管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99907311-4c0a-4a01-aa38-6923f6d8fbcd', 'parking-lot.manage.rule.mth-rule.create', 'admin', '9bd5e81c-d785-4150-946d-d7d091286177', '月租规则新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99907311-4f03-4555-82e2-ce9166fed83b', 'parking-lot.manage.rule.mth-rule.edit', 'admin', '9bd5e81c-d785-4150-946d-d7d091286177', '月租规则编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99907311-5220-4dd9-8d47-1bb434615ee3', 'parking-lot.manage.rule.mth-rule.delete', 'admin', '9bd5e81c-d785-4150-946d-d7d091286177', '月租规则删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99907311-5539-4d34-ae99-1fd6ab041c71', 'parking-lot.manage.rule.mth-rule.list', 'admin', '9bd5e81c-d785-4150-946d-d7d091286177', '月租规则列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99907605-ff65-4c1c-9900-85e623212081', 'parking-lot.car', 'admin', '9917b0da-11be-4664-96a5-33ce38ca2c7f', '车辆管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99907fcb-ce5c-462e-a542-48a7981a7e1f', 'parking-lot.car.log', 'admin', '99907605-ff65-4c1c-9900-85e623212081', '车辆记录', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99907fcb-dcc6-4b18-a5b4-27db3fcc4767', 'parking-lot.car.log.enter-log.list', 'admin', '99907fcb-ce5c-462e-a542-48a7981a7e1f', '在场车辆列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990a778-1a1b-42cd-a12d-f7529321f409', 'parking-lot.car.log.enter-log.create', 'admin', '99907fcb-ce5c-462e-a542-48a7981a7e1f', '在场车辆新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99907fcb-e072-4d7b-8b89-2c6145c87813', 'parking-lot.car.log.enter-log.edit', 'admin', '99907fcb-ce5c-462e-a542-48a7981a7e1f', '在场车辆编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99907fcb-e34d-40f6-b628-c82bfbd1459b', 'parking-lot.car.log.enter-log.delete', 'admin', '99907fcb-ce5c-462e-a542-48a7981a7e1f', '在场车辆删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99907fcb-e682-43d3-872d-145df0cb9987', 'parking-lot.car.log.enter-log.lock', 'admin', '99907fcb-ce5c-462e-a542-48a7981a7e1f', '在场车辆锁车', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99907fcb-e9f6-4b00-8258-868bf0ec6194', 'parking-lot.car.log.out-log.list', 'admin', '99907fcb-ce5c-462e-a542-48a7981a7e1f', '出场车辆列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99907fcb-ecf7-40cd-88db-01c61aafab10', 'parking-lot.car.log.out-log.delete', 'admin', '99907fcb-ce5c-462e-a542-48a7981a7e1f', '出场车辆删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99b28bb9-3560-499a-8abc-706c33b76c16', 'parking-lot.car.log.lock-car.list', 'admin', '99907fcb-ce5c-462e-a542-48a7981a7e1f', '已锁车辆列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99b28c46-d20a-45b4-9a1e-4a0fb812ac97', 'parking-lot.car.log.lock-car.create', 'admin', '99907fcb-ce5c-462e-a542-48a7981a7e1f', '已锁车辆新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99b28c62-dd2f-48c6-9aae-6939c3fe982f', 'parking-lot.car.log.lock-car.delete', 'admin', '99907fcb-ce5c-462e-a542-48a7981a7e1f', '已锁车辆删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99b2542f-cc90-4417-9c0a-f04f6786e41d', 'parking-lot.car.pass-time-group', 'admin', '99907605-ff65-4c1c-9900-85e623212081', '通行时段管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99b277ab-f1ac-4dff-a290-64e7af0c5754', 'parking-lot.car.pass-time-group.create', 'admin', '99b2542f-cc90-4417-9c0a-f04f6786e41d', '通行时段新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99b277c2-994b-44f6-af01-e75983ed183d', 'parking-lot.car.pass-time-group.edit', 'admin', '99b2542f-cc90-4417-9c0a-f04f6786e41d', '通行时段编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99b277d6-70ed-4148-858f-7676873a5d67', 'parking-lot.car.pass-time-group.delete', 'admin', '99b2542f-cc90-4417-9c0a-f04f6786e41d', '通行时段删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99b277ef-fa07-405b-a65d-4ae73ac59143', 'parking-lot.car.pass-time-group.list', 'admin', '99b2542f-cc90-4417-9c0a-f04f6786e41d', '通行时段列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990a89f-7b70-4c06-9ec1-ffa607356b0b', 'parking-lot.car.mth-card', 'admin', '99907605-ff65-4c1c-9900-85e623212081', '月卡管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990a89f-8a0a-460d-aa35-091572147e2c', 'parking-lot.car.mth-card.group.list', 'admin', '9990a89f-7b70-4c06-9ec1-ffa607356b0b', '月卡分组列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990a89f-8d0a-4d36-b85f-aefda8ca3b73', 'parking-lot.car.mth-card.group.create', 'admin', '9990a89f-7b70-4c06-9ec1-ffa607356b0b', '月卡分组新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990a89f-90a7-4f14-9102-0bd50e1b7743', 'parking-lot.car.mth-card.group.edit', 'admin', '9990a89f-7b70-4c06-9ec1-ffa607356b0b', '月卡分组编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990a89f-93b5-441f-897e-785800e47588', 'parking-lot.car.mth-card.group.delete', 'admin', '9990a89f-7b70-4c06-9ec1-ffa607356b0b', '月卡分组删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990a89f-96ff-40c3-8314-86e5c82aa9bc', 'parking-lot.car.mth-card.list', 'admin', '9990a89f-7b70-4c06-9ec1-ffa607356b0b', '月卡列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990a89f-9a48-4338-af05-b9900f3726a1', 'parking-lot.car.mth-card.create', 'admin', '9990a89f-7b70-4c06-9ec1-ffa607356b0b', '月卡新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990a89f-9dfc-40f1-9358-39fb99a0fc30', 'parking-lot.car.mth-card.edit', 'admin', '9990a89f-7b70-4c06-9ec1-ffa607356b0b', '月卡编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990a89f-a194-4602-8996-fdc5c253cdd7', 'parking-lot.car.mth-card.charge', 'admin', '9990a89f-7b70-4c06-9ec1-ffa607356b0b', '月卡续期', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990a89f-a502-42ce-ac08-58933e591836', 'parking-lot.car.mth-card.delete', 'admin', '9990a89f-7b70-4c06-9ec1-ffa607356b0b', '月卡删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99b27ab0-d485-434f-b794-a97dde4663bb', 'parking-lot.car.mth-card.apply.list', 'admin', '9990a89f-7b70-4c06-9ec1-ffa607356b0b', '月卡申请列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99b27ae0-20a0-405f-9959-f31b5f1b9fb2', 'parking-lot.car.mth-card.apply.check', 'admin', '9990a89f-7b70-4c06-9ec1-ffa607356b0b', '月卡申请审核', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99b27b2a-4606-4355-af68-c5f720feba16', 'parking-lot.car.mth-card.apply.delete', 'admin', '9990a89f-7b70-4c06-9ec1-ffa607356b0b', '月卡申请删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990ae39-dbf0-4bc6-99a0-25eeb0ebef6e', 'parking-lot.car.store-car', 'admin', '99907605-ff65-4c1c-9900-85e623212081', '特殊车辆管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990ae39-ecf9-40bd-acbb-bf17360963bc', 'parking-lot.car.store-car.group.list', 'admin', '9990ae39-dbf0-4bc6-99a0-25eeb0ebef6e', '特殊车辆分组列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990ae39-f034-45e6-b931-4f607d756ce8', 'parking-lot.car.store-car.group.create', 'admin', '9990ae39-dbf0-4bc6-99a0-25eeb0ebef6e', '特殊车辆分组新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990ae39-f42c-4924-bd32-1f6cfeaf2727', 'parking-lot.car.store-car.group.edit', 'admin', '9990ae39-dbf0-4bc6-99a0-25eeb0ebef6e', '特殊车辆分组编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990ae39-f956-40fb-8a3a-d74d332d7d78', 'parking-lot.car.store-car.group.delete', 'admin', '9990ae39-dbf0-4bc6-99a0-25eeb0ebef6e', '特殊车辆分组删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990ae39-fccf-49c4-871a-15a173e423bc', 'parking-lot.car.store-car.list', 'admin', '9990ae39-dbf0-4bc6-99a0-25eeb0ebef6e', '特殊车辆列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990ae3a-0095-4c78-b192-fa2f16542bfb', 'parking-lot.car.store-car.create', 'admin', '9990ae39-dbf0-4bc6-99a0-25eeb0ebef6e', '特殊车辆新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990ae3a-0434-449b-ada7-15adfb623cfc', 'parking-lot.car.store-car.edit', 'admin', '9990ae39-dbf0-4bc6-99a0-25eeb0ebef6e', '特殊车辆编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990ae3a-080f-416c-9f21-3e5562f54a2a', 'parking-lot.car.store-car.charge', 'admin', '9990ae39-dbf0-4bc6-99a0-25eeb0ebef6e', '特殊车辆充值', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990ae3a-0bdf-42a5-bd28-73291c1153f5', 'parking-lot.car.store-car.delete', 'admin', '9990ae39-dbf0-4bc6-99a0-25eeb0ebef6e', '特殊车辆删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990b49f-d162-4f77-8926-591b3f8a0e6f', 'parking-lot.car.warning-car', 'admin', '99907605-ff65-4c1c-9900-85e623212081', '黑白名单', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990b510-827b-4375-b1b6-44aabf0f5a40', 'parking-lot.car.warning-car.black.list', 'admin', '9990b49f-d162-4f77-8926-591b3f8a0e6f', '黑名单列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990b510-86b4-4776-8d24-759962040632', 'parking-lot.car.warning-car.black.create', 'admin', '9990b49f-d162-4f77-8926-591b3f8a0e6f', '黑名单新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990b510-8e0d-46d7-a657-954c9af6d2b5', 'parking-lot.car.warning-car.black.delete', 'admin', '9990b49f-d162-4f77-8926-591b3f8a0e6f', '黑名单删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9c2494cc-f908-460d-8d2c-ce7b4f0547f7', 'parking-lot.car.warning-car.white.list', 'admin', '9990b49f-d162-4f77-8926-591b3f8a0e6f', '白名单列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9c2494e4-e2f7-4cab-9cf0-2e92543d03a4', 'parking-lot.car.warning-car.white.create', 'admin', '9990b49f-d162-4f77-8926-591b3f8a0e6f', '白名单新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9c2494f6-db68-40bc-b790-69f4a101fd78', 'parking-lot.car.warning-car.white.delete', 'admin', '9990b49f-d162-4f77-8926-591b3f8a0e6f', '白名单删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990b949-918a-477b-9875-d43f1bc4cdee', 'parking-lot.car.visitor', 'admin', '99907605-ff65-4c1c-9900-85e623212081', '访客管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990b949-a288-41d9-bdc9-744dbc4fc8e1', 'parking-lot.car.visitor.list', 'admin', '9990b949-918a-477b-9875-d43f1bc4cdee', '访客列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990b949-a63b-4fe6-a32c-5538b53213bb', 'parking-lot.car.visitor.create', 'admin', '9990b949-918a-477b-9875-d43f1bc4cdee', '访客新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990b949-a9dd-40a2-a2da-afd28d7d94eb', 'parking-lot.car.visitor.edit', 'admin', '9990b949-918a-477b-9875-d43f1bc4cdee', '访客编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990b949-aded-44e6-a06c-b81a5892fcf1', 'parking-lot.car.visitor.check', 'admin', '9990b949-918a-477b-9875-d43f1bc4cdee', '访客审核', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9990b949-b2e5-42f1-8d79-4b1d4d4ec267', 'parking-lot.car.visitor.delete', 'admin', '9990b949-918a-477b-9875-d43f1bc4cdee', '访客删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9cc55946-b988-4809-a865-341aeb4a5468', 'parking-lot.car.registration', 'admin', '99907605-ff65-4c1c-9900-85e623212081', '入场登记', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9c641f44-4bbe-424d-ab99-48b01cb99631', 'parking-lot.car.charge-plate', 'admin', '99907605-ff65-4c1c-9900-85e623212081', '充电记录', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999cabb6-a71d-4b91-bda5-0f2901732d95', 'parking-lot.discount', 'admin', '9917b0da-11be-4664-96a5-33ce38ca2c7f', '优惠管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999204cd-24d4-4588-8f6f-34af566d0e66', 'parking-lot.discount.setting', 'admin', '999cabb6-a71d-4b91-bda5-0f2901732d95', '充值设置', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99920692-9c27-4ecc-9a47-0f0078a850ab', 'parking-lot.discount.merchant', 'admin', '999cabb6-a71d-4b91-bda5-0f2901732d95', '商户管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9992096e-7a3a-42e9-9f8c-aed6f7e48b36', 'parking-lot.discount.merchant.list', 'admin', '99920692-9c27-4ecc-9a47-0f0078a850ab', '商户列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99920984-d9c5-4133-87e9-88b8216d4fe5', 'parking-lot.discount.merchant.create', 'admin', '99920692-9c27-4ecc-9a47-0f0078a850ab', '商户新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99920998-226f-4aa3-9695-6ed334929325', 'parking-lot.discount.merchant.edit', 'admin', '99920692-9c27-4ecc-9a47-0f0078a850ab', '商户编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999209ba-7b9b-4a1b-bc1b-60aede21abed', 'parking-lot.discount.merchant.charge', 'admin', '99920692-9c27-4ecc-9a47-0f0078a850ab', '商户充值', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999209ce-6b7f-417e-afbd-597b2f99c1a5', 'parking-lot.discount.merchant.distribute', 'admin', '99920692-9c27-4ecc-9a47-0f0078a850ab', '商户派发优惠券', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999209df-7d34-4882-8c08-4f687f81e9f0', 'parking-lot.discount.merchant.delete', 'admin', '99920692-9c27-4ecc-9a47-0f0078a850ab', '商户删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999206a2-8a13-43e0-bd8d-503bb2a524f7', 'parking-lot.discount.coupon', 'admin', '999cabb6-a71d-4b91-bda5-0f2901732d95', '优惠券方案', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99920b2c-e1bb-456a-9eea-06ba09ef49e0', 'parking-lot.discount.coupon.list', 'admin', '999206a2-8a13-43e0-bd8d-503bb2a524f7', '优惠券方案列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99920b48-bcff-443a-a88a-e4dea8850958', 'parking-lot.discount.coupon.create', 'admin', '999206a2-8a13-43e0-bd8d-503bb2a524f7', '优惠券方案新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99920b5b-986e-4136-85b3-bf0ce65b8c95', 'parking-lot.discount.coupon.edit', 'admin', '999206a2-8a13-43e0-bd8d-503bb2a524f7', '优惠券方案编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99920b6f-dd2e-42f0-aff9-79391403799c', 'parking-lot.discount.coupon.delete', 'admin', '999206a2-8a13-43e0-bd8d-503bb2a524f7', '优惠券方案删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99920d02-921b-4f9f-a9c5-0109153a4e67', 'parking-lot.discount.coupon-distribute', 'admin', '999cabb6-a71d-4b91-bda5-0f2901732d95', '优惠券派发', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999cb151-c48f-4a41-b04a-f0fcc21f9b8f', 'parking-lot.discount.coupon-distribute.check', 'admin', '99920d02-921b-4f9f-a9c5-0109153a4e67', '优惠券派发审核', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999214b6-8f61-4e0f-95a2-5496b81ac0c5', 'parking-lot.discount.coupon-distribute.list', 'admin', '99920d02-921b-4f9f-a9c5-0109153a4e67', '优惠券派发列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999214d9-dbb6-437f-a762-b7f2c7e7db42', 'parking-lot.discount.coupon-distribute.delete', 'admin', '99920d02-921b-4f9f-a9c5-0109153a4e67', '优惠券派发删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999216ad-23c0-42cf-916c-ad9b8ae82042', 'parking-lot.discount.merchant-coupon', 'admin', '999cabb6-a71d-4b91-bda5-0f2901732d95', '优惠券库存', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99921c9a-5a4c-462e-871f-dfd8546f2b2a', 'parking-lot.discount.merchant-coupon.list', 'admin', '999216ad-23c0-42cf-916c-ad9b8ae82042', '优惠券库存列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99921cfe-7277-437f-ac89-9a9f5e63eebb', 'parking-lot.discount.coupon-receive', 'admin', '999cabb6-a71d-4b91-bda5-0f2901732d95', '领券记录', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99921d6b-a8a2-4a7f-b42c-18cca6cb6792', 'parking-lot.discount.coupon-receive.list', 'admin', '99921cfe-7277-437f-ac89-9a9f5e63eebb', '领券记录列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99927cdf-c75d-414d-830e-5c8c3e06c0bf', 'parking-lot.discount.merchant-car', 'admin', '999cabb6-a71d-4b91-bda5-0f2901732d95', '商家车辆', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99927d4f-e536-4382-8d48-2ccddab5328d', 'parking-lot.discount.merchant-car.list', 'admin', '99927cdf-c75d-414d-830e-5c8c3e06c0bf', '商家车辆列表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99927e48-cb9c-4165-b105-0c4184ae89ed', 'parking-lot.discount.merchant-car.create', 'admin', '99927cdf-c75d-414d-830e-5c8c3e06c0bf', '商家车辆新建', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99927e57-4dc7-4dfc-88e2-a43f930c50ca', 'parking-lot.discount.merchant-car.check', 'admin', '99927cdf-c75d-414d-830e-5c8c3e06c0bf', '商家车辆审核', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99927e65-530b-497f-b7f4-0022ed5cc7ae', 'parking-lot.discount.merchant-car.delete', 'admin', '99927cdf-c75d-414d-830e-5c8c3e06c0bf', '商家车辆删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99927f23-be82-4343-ac96-42bef7c7d519', 'parking-lot.discount.order', 'admin', '999cabb6-a71d-4b91-bda5-0f2901732d95', '财务管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99927f9b-3270-43dd-8dcf-dc940310566c', 'parking-lot.discount.order.coupon-order', 'admin', '99927f23-be82-4343-ac96-42bef7c7d519', '优惠券购买订单', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9c7a71b3-d42d-4a8f-b354-e7a7c144f946', 'parking-lot.discount.order.coupon-order.refund', 'admin', '99927f9b-3270-43dd-8dcf-dc940310566c', '优惠券购买订单退款', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99927fbd-7128-4e03-b102-0396f310aa7a', 'parking-lot.discount.order.merchant-order', 'admin', '99927f23-be82-4343-ac96-42bef7c7d519', '商户充值订单', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9c7a71ef-68c0-43b4-b584-858f6f6d2051', 'parking-lot.discount.order.merchant-order.refund', 'admin', '99927fbd-7128-4e03-b102-0396f310aa7a', '商户充值订单退款', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999282b6-8f69-4e0c-9834-39f1e75b3a87', 'parking-lot.order', 'admin', '9917b0da-11be-4664-96a5-33ce38ca2c7f', '财务管理', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9992832e-dd29-4265-8565-9f0f126d600a', 'parking-lot.order.mth-order', 'admin', '999282b6-8f69-4e0c-9834-39f1e75b3a87', '月租订单', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999283ac-d725-4b7e-b52d-c7c5df02e94c', 'parking-lot.order.mth-order.invoice', 'admin', '9992832e-dd29-4265-8565-9f0f126d600a', '月租订单开票', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99928442-fa17-4e4b-aff8-c2e6ba073c27', 'parking-lot.order.mth-order.refund', 'admin', '9992832e-dd29-4265-8565-9f0f126d600a', '月租订单退款', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99b29032-17bf-488e-b6e2-460fca52796f', 'parking-lot.order.mth-order.delete', 'admin', '9992832e-dd29-4265-8565-9f0f126d600a', '月租订单删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999284bc-a1a3-4c59-95e2-c411deda8ee4', 'parking-lot.order.park-order', 'admin', '999282b6-8f69-4e0c-9834-39f1e75b3a87', '临停订单', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99928529-3482-4f54-b69a-fdf2e1e12713', 'parking-lot.order.park-order.invoice', 'admin', '999284bc-a1a3-4c59-95e2-c411deda8ee4', '临停订单开票', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99928606-9868-4766-adb3-e64be432155d', 'parking-lot.order.park-order.edit', 'admin', '999284bc-a1a3-4c59-95e2-c411deda8ee4', '临停订单编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99928623-5a85-4925-a6dd-7874fdde2ff2', 'parking-lot.order.park-order.pay', 'admin', '999284bc-a1a3-4c59-95e2-c411deda8ee4', '临停订单收款', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99928637-77cb-41ed-ba1e-bf91cfc7e000', 'parking-lot.order.park-order.refund', 'admin', '999284bc-a1a3-4c59-95e2-c411deda8ee4', '临停订单退款', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99928644-26c2-4cad-a306-53647022331c', 'parking-lot.order.park-order.delete', 'admin', '999284bc-a1a3-4c59-95e2-c411deda8ee4', '临停订单删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99928ca3-6431-41b1-af23-854c28b990ad', 'parking-lot.order.store-car-order', 'admin', '999282b6-8f69-4e0c-9834-39f1e75b3a87', '充值订单', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99928d0e-faf7-47bd-8256-4a1e36765ba9', 'parking-lot.order.store-car-order.edit', 'admin', '99928ca3-6431-41b1-af23-854c28b990ad', '充值订单编辑', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99928d1e-e79a-49ec-9f80-fbe56a6dcff0', 'parking-lot.order.store-car-order.delete', 'admin', '99928ca3-6431-41b1-af23-854c28b990ad', '充值订单删除', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9c2c5851-c0df-4c3f-9767-db71b2622a64', 'parking-lot.order.refund-order', 'admin', '999282b6-8f69-4e0c-9834-39f1e75b3a87', '退款订单', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9c2c5874-8f54-4595-a584-c5b7e6cf4359', 'parking-lot.order.deleted-order', 'admin', '999282b6-8f69-4e0c-9834-39f1e75b3a87', '已删除订单', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99928fd7-0fa0-4606-96d1-353f8acf7485', 'parking-lot.count', 'admin', '9917b0da-11be-4664-96a5-33ce38ca2c7f', '报表查询', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99929017-0b28-4313-b4c6-f88037064912', 'parking-lot.count.cars', 'admin', '99928fd7-0fa0-4606-96d1-353f8acf7485', '车流量分析', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99929c35-2de0-44bf-afe3-186a9d2ca241', 'parking-lot.count.enter-log', 'admin', '99928fd7-0fa0-4606-96d1-353f8acf7485', '入场记录', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99929c43-5c89-4367-8cb1-fc8c341319bc', 'parking-lot.count.out-log', 'admin', '99928fd7-0fa0-4606-96d1-353f8acf7485', '出场记录', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99929c50-15a4-4e9f-92b1-d3d7821a3696', 'parking-lot.count.lane-open-log', 'admin', '99928fd7-0fa0-4606-96d1-353f8acf7485', '开闸记录', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99929c5a-f71c-449d-8331-d7a9885cc1a8', 'parking-lot.count.lane-list', 'admin', '99928fd7-0fa0-4606-96d1-353f8acf7485', '设备状态', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99929c66-945f-4b9e-95e0-056b9e187b3f', 'parking-lot.count.coupon-order', 'admin', '99928fd7-0fa0-4606-96d1-353f8acf7485', '商户优惠券充值', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99929c72-ab4b-4c98-851b-51bd3af6e99a', 'parking-lot.count.park-order-paid', 'admin', '99928fd7-0fa0-4606-96d1-353f8acf7485', '临停已缴订单', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99929c7e-7f01-4809-a082-25cf57ad1f8b', 'parking-lot.count.mth-order', 'admin', '99928fd7-0fa0-4606-96d1-353f8acf7485', '月租订单', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99929c8a-75cb-4060-a080-6498b8e0b931', 'parking-lot.count.park-order-unpaid', 'admin', '99928fd7-0fa0-4606-96d1-353f8acf7485', '临停未缴订单', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99929c97-e8cd-4396-9cd3-da2aefc1cd1c', 'parking-lot.count.orders', 'admin', '99928fd7-0fa0-4606-96d1-353f8acf7485', '车辆收费报表', 'PARKING_LOT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('907f70b4-e1aa-4c1d-935b-107c98f08b05', 'merchant', 'admin', '', '商户节点', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999caf73-3611-4c43-8761-bb42567352b5', 'merchant.coupon', 'admin', '907f70b4-e1aa-4c1d-935b-107c98f08b05', '优惠券方案', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999cafa3-5980-4cd0-9c36-035d48af6200', 'merchant.coupon.buy', 'admin', '999caf73-3611-4c43-8761-bb42567352b5', '购买优惠券', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999cb0e2-6c41-494a-96d9-6184aec97612', 'merchant.coupon-distribute', 'admin', '907f70b4-e1aa-4c1d-935b-107c98f08b05', '优惠券派发', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999cb2ff-8045-428d-9a01-7d22e7e9816c', 'merchant.merchant-coupon', 'admin', '907f70b4-e1aa-4c1d-935b-107c98f08b05', '优惠券库存', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999cb3ce-9f52-4806-8d1c-65a813a8c220', 'merchant.merchant-coupon.edit', 'admin', '999cb2ff-8045-428d-9a01-7d22e7e9816c', '优惠券库存编辑', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999cb30f-43a7-4981-8bbd-6e59034954e4', 'merchant.merchant-coupon.code', 'admin', '999cb2ff-8045-428d-9a01-7d22e7e9816c', '优惠券库存二维码', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('99b24696-141c-4dd9-97ec-d4f2983cf344', 'merchant.merchant-coupon.add-receive', 'admin', '999cb2ff-8045-428d-9a01-7d22e7e9816c', '发放优惠券', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999cb55e-fc00-4c3d-a333-1eb312024199', 'merchant.coupon-receive', 'admin', '907f70b4-e1aa-4c1d-935b-107c98f08b05', '领券记录', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999cb591-0d08-430b-a2a3-19072c29b689', 'merchant.coupon-receive.edit', 'admin', '999cb55e-fc00-4c3d-a333-1eb312024199', '领券记录编辑', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999cb5a4-6a08-4332-9068-64dd3e18aee7', 'merchant.coupon-receive.recover', 'admin', '999cb55e-fc00-4c3d-a333-1eb312024199', '领券记录回收', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9db69236-52ba-482f-b683-30cea1934eaa', 'merchant.merchant-car', 'admin', '907f70b4-e1aa-4c1d-935b-107c98f08b05', '商家车辆', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9db69316-b96a-4455-8033-0db05d507cff', 'merchant.merchant-car.apply', 'admin', '9db69236-52ba-482f-b683-30cea1934eaa', '商家车辆申请', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999cb69b-9f45-45eb-9737-4de9d2622632', 'merchant.order', 'admin', '907f70b4-e1aa-4c1d-935b-107c98f08b05', '财务管理', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999cb6f4-8731-4faa-8284-d51334d78020', 'merchant.order.coupon-order', 'admin', '999cb69b-9f45-45eb-9737-4de9d2622632', '优惠券购买', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999cb707-bf6f-4570-a27a-81c6bac5d103', 'merchant.order.merchant-order', 'admin', '999cb69b-9f45-45eb-9737-4de9d2622632', '商户充值', 'MERCHANT');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('906c7299-0ca0-43b8-a105-e00529e32a05', 'system', 'admin', '', '系统节点', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9bc94e1e-af5f-4491-a6eb-e7db7a1acf48', 'system.agent', 'admin', '906c7299-0ca0-43b8-a105-e00529e32a05', '运营商管理', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9bc94e87-67df-49dc-a2a8-35faa07314de', 'system.agent.list', 'admin', '9bc94e1e-af5f-4491-a6eb-e7db7a1acf48', '运营商列表', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9bc94e97-da65-4718-9ec9-b4a8de7f390c', 'system.agent.create', 'admin', '9bc94e1e-af5f-4491-a6eb-e7db7a1acf48', '运营商新建', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9bc94ea9-6c3f-43c3-b697-2bb0f04e2ba5', 'system.agent.edit', 'admin', '9bc94e1e-af5f-4491-a6eb-e7db7a1acf48', '运营商编辑', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999c9c29-6362-4f3c-8a39-e086e8358ca5', 'system.parking_lot', 'admin', '906c7299-0ca0-43b8-a105-e00529e32a05', '车场管理', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999ca067-c984-4c00-87c4-d8969466b1fa', 'system.parking_lot.create', 'admin', '999c9c29-6362-4f3c-8a39-e086e8358ca5', '车场新建', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999ca3c9-a9ae-4360-b4df-d9b5e321612b', 'system.parking_lot.edit', 'admin', '999c9c29-6362-4f3c-8a39-e086e8358ca5', '车场编辑', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999ca3dc-2f68-44fb-9778-815a5d361028', 'system.parking_lot.delete', 'admin', '999c9c29-6362-4f3c-8a39-e086e8358ca5', '车场删除', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999ca3ec-29c2-431d-8977-2fa8e09b1fd0', 'system.parking_lot.list', 'admin', '999c9c29-6362-4f3c-8a39-e086e8358ca5', '车场列表', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e03e8-027d-4f2e-953f-27bb3cf9133c', 'system.member', 'admin', '906c7299-0ca0-43b8-a105-e00529e32a05', '会员管理', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0623-a4fc-4745-a5c1-4e462910b531', 'system.setting', 'admin', '906c7299-0ca0-43b8-a105-e00529e32a05', '高级设置', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e073b-ceda-49fa-a0d2-8b1983ba9947', 'system.setting.wmp', 'admin', '999e0623-a4fc-4745-a5c1-4e462910b531', '小程序设置', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0753-3079-4a21-a17e-58ebc067e1c6', 'system.setting.wechat', 'admin', '999e0623-a4fc-4745-a5c1-4e462910b531', '公众号设置', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0763-9ecd-4f2c-a024-8ced7bbe68c4', 'system.setting.site', 'admin', '999e0623-a4fc-4745-a5c1-4e462910b531', '站点设置', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9c5e3f0f-c03f-4785-8714-68389d689cba', 'system.log', 'admin', '906c7299-0ca0-43b8-a105-e00529e32a05', '操作日志', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9d8c68fc-c401-45ac-bd8c-fa140c047486', 'system.parking-log', 'admin', '906c7299-0ca0-43b8-a105-e00529e32a05', '识别日志', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9951f41d-b54d-4455-b3f5-91e4c4b480a6', 'system.permission', 'admin', '906c7299-0ca0-43b8-a105-e00529e32a05', '权限管理', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9951f41d-ed1d-4512-8343-5021f4306bd6', 'system.permission.role', 'admin', '9951f41d-b54d-4455-b3f5-91e4c4b480a6', '角色管理', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9951f41e-15b9-4046-921a-3a18967c573a', 'system.permission.role.create', 'admin', '9951f41d-ed1d-4512-8343-5021f4306bd6', '角色新建', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9951f41e-5028-4e88-96bd-2a38dcbd8fb5', 'system.permission.role.delete', 'admin', '9951f41d-ed1d-4512-8343-5021f4306bd6', '角色删除', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9951f41e-2884-4bba-84af-f22b66456d5d', 'system.permission.role.edit', 'admin', '9951f41d-ed1d-4512-8343-5021f4306bd6', '角色编辑', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9951f41e-3c6b-4ca0-88c8-0eba55ba4141', 'system.permission.role.list', 'admin', '9951f41d-ed1d-4512-8343-5021f4306bd6', '角色列表', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9951f41e-7567-48ef-a5a9-508056843f71', 'system.permission.user', 'admin', '9951f41d-b54d-4455-b3f5-91e4c4b480a6', '用户管理', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9951f41e-8df0-4730-a0fa-b2225ca6f400', 'system.permission.user.create', 'admin', '9951f41e-7567-48ef-a5a9-508056843f71', '用户新建', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9951f41e-ecd4-4f2a-b0aa-db295266bb8e', 'system.permission.user.delete', 'admin', '9951f41e-7567-48ef-a5a9-508056843f71', '用户删除', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9951f41e-b252-4ed7-a984-36878a04c83c', 'system.permission.user.edit', 'admin', '9951f41e-7567-48ef-a5a9-508056843f71', '用户编辑', 'SYSTEM');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('9951f41e-cffa-4cd0-8bc2-044db184119a', 'system.permission.user.list', 'admin', '9951f41e-7567-48ef-a5a9-508056843f71', '用户列表', 'SYSTEM');
";

    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('91579fb6-c65a-480b-b039-e78cebd6fe29', 'station', 'admin', '', '岗亭节点', 'STATION');
    // INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0b0a-3b12-4d3b-873e-09e2402290c0', 'parking-lot.permission', 'admin', '9917b0da-11be-4664-96a5-33ce38ca2c7f', '权限管理', 'PARKING_LOT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0b2f-0b92-420f-b96a-4529bc494b80', 'parking-lot.permission.role', 'admin', '999e0b0a-3b12-4d3b-873e-09e2402290c0', '角色管理', 'PARKING_LOT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0ba1-bcb4-4c10-a741-1a826403b4aa', 'parking-lot.permission.role.create', 'admin', '999e0b2f-0b92-420f-b96a-4529bc494b80', '角色新建', 'PARKING_LOT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0bb4-7e9c-409e-a0ac-538d6e8f8d2d', 'parking-lot.permission.role.edit', 'admin', '999e0b2f-0b92-420f-b96a-4529bc494b80', '角色编辑', 'PARKING_LOT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0bd6-1af8-4c42-a5b8-73d6a18a3da5', 'parking-lot.permission.role.delete', 'admin', '999e0b2f-0b92-420f-b96a-4529bc494b80', '角色删除', 'PARKING_LOT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0be6-5003-47bc-a9ed-e6f028278353', 'parking-lot.permission.role.list', 'admin', '999e0b2f-0b92-420f-b96a-4529bc494b80', '角色列表', 'PARKING_LOT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0ce7-3850-4df5-ac14-e2700550c241', 'parking-lot.permission.user', 'admin', '999e0b0a-3b12-4d3b-873e-09e2402290c0', '用户管理', 'PARKING_LOT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0d25-05ac-4266-80e6-e3c4063f1b1b', 'parking-lot.permission.user.create', 'admin', '999e0ce7-3850-4df5-ac14-e2700550c241', '用户新建', 'PARKING_LOT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0d36-14e8-4f9d-8c0d-b6a20e6501de', 'parking-lot.permission.user.edit', 'admin', '999e0ce7-3850-4df5-ac14-e2700550c241', '用户编辑', 'PARKING_LOT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0d46-5a53-4542-ae03-b01c3f364652', 'parking-lot.permission.user.delete', 'admin', '999e0ce7-3850-4df5-ac14-e2700550c241', '用户删除', 'PARKING_LOT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0d56-3b8e-4208-b1ed-6c353707ae75', 'parking-lot.permission.user.list', 'admin', '999e0ce7-3850-4df5-ac14-e2700550c241', '用户列表', 'PARKING_LOT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0db5-675b-4cad-b155-c41b4cb4178a', 'parking-lot.permission.log', 'admin', '999e0b0a-3b12-4d3b-873e-09e2402290c0', '系统日志', 'PARKING_LOT');

    // INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0f3a-a541-400c-b7d9-24134a2688c1', 'merchant.permission', 'admin', '907f70b4-e1aa-4c1d-935b-107c98f08b05', '员工管理', 'MERCHANT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e0ffa-5cb7-43e2-8670-f84e3a95f58d', 'merchant.permission.role', 'admin', '999e0f3a-a541-400c-b7d9-24134a2688c1', '角色管理', 'MERCHANT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e1081-5418-4ae5-a364-59cabec4fdfd', 'merchant.permission.role.create', 'admin', '999e0ffa-5cb7-43e2-8670-f84e3a95f58d', '角色新建', 'MERCHANT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e1098-8834-480c-9c75-7f400da4c8f7', 'merchant.permission.role.edit', 'admin', '999e0ffa-5cb7-43e2-8670-f84e3a95f58d', '角色编辑', 'MERCHANT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e10a8-0b53-48ee-a567-51495714cc4e', 'merchant.permission.role.delete', 'admin', '999e0ffa-5cb7-43e2-8670-f84e3a95f58d', '角色删除', 'MERCHANT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e10b7-e8d4-47b1-8e23-a4c064616333', 'merchant.permission.role.list', 'admin', '999e0ffa-5cb7-43e2-8670-f84e3a95f58d', '角色列表', 'MERCHANT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e1031-6a57-47f0-9de5-59a9ccd9e52f', 'merchant.permission.user', 'admin', '999e0f3a-a541-400c-b7d9-24134a2688c1', '权限管理', 'MERCHANT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e10e3-61e9-49d9-a5d9-37dec39eba63', 'merchant.permission.user.create', 'admin', '999e1031-6a57-47f0-9de5-59a9ccd9e52f', '员工新建', 'MERCHANT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e10f8-c784-425f-8b8d-b1617a317e91', 'merchant.permission.user.edit', 'admin', '999e1031-6a57-47f0-9de5-59a9ccd9e52f', '员工编辑', 'MERCHANT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e110a-244a-42f1-b2a2-d0b853742daa', 'merchant.permission.user.delete', 'admin', '999e1031-6a57-47f0-9de5-59a9ccd9e52f', '员工删除', 'MERCHANT');
    //INSERT INTO `permissions` (`id`, `name`, `guard_name`, `parent_id`, `description`, `identity`) VALUES ('999e111a-b494-4602-81e2-3a9a024e1185', 'merchant.permission.user.list', 'admin', '999e1031-6a57-47f0-9de5-59a9ccd9e52f', '员工列表', 'MERCHANT');
    public static function dataRefresh()
    {
        \DB::transaction(function () {
            \DB::table((new self)->getTable())->delete();
            \DB::unprepared(self::DATA_SQL);
        });
    }
}
